<?php
/**
 * Created by PhpStorm.
 * User: HuangLuSen
 * Date: 2017/5/11
 * Time: 10:44
 */

namespace app\common\message\type;


use app\common\message\SendType;
use app\common\traits\Wechat;

class WechatType extends SendType
{
    use Wechat;
    /**
     * 发送数据到队列
     * @param $data
     * @return mixed
     */
    public function push_to_queue($data)
    {
        // TODO: Implement push_to_queue() method.
    }

    /**
     * 发送数据到客户
     * @param $data
     * @return mixed
     */
    public function send_to_any(array $data)
    {
        return self::getInstance()->notice->send($data);
    }
}